package com.mida.dms.knw.controller;

import com.mida.dms.knw.entity.KnwIndividualSolt;
import com.mida.dms.knw.vo.PageSearchVo;
import com.mida.tool.common.result.ActionResult;
import com.mida.tool.common.result.ListResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

/**
 * 实例slot控制器
 * 如需扩展返回或传入参数 请修改泛型的第一个参数
 * 如需扩展分页查询条件请修改泛型的第二个参数，必须继承PageSearchVo 具体可以参考com.mida.dms.knw.entity.vo.DataSetVo
 * @author conyfrommars
 *
 */
@RestController
@RequestMapping("/knwIndividualSolt")
@Api(tags = "实例slot")
@CrossOrigin
public class KnwIndividualSoltController implements BaseControl<KnwIndividualSolt, PageSearchVo> {

	@ApiOperation(value = "新增实例slot", notes = "新增实例slot")
	@PostMapping(value = "/addKnwIndividualSolt",produces = { "application/json;charset=UTF-8" })
	@ResponseBody
	@Override
	public ActionResult add(KnwIndividualSolt t) {
		// TODO Auto-generated method stub
		return null;
	}

	@ApiOperation(value = "更新实例slot", notes = "更新实例slot")
	@PostMapping(value = "/updateKnwIndividualSolt",produces = { "application/json;charset=UTF-8" })
	@ResponseBody
	@Override
	public ActionResult update(KnwIndividualSolt t) {
		// TODO Auto-generated method stub
		return null;
	}

	@ApiOperation(value = "删除实例slot", notes = "删除实例slot")
	@ApiImplicitParam(name = "soid", value = "实例slotsoid", required = false)
	@GetMapping(value = "/deleteKnwIndividualSolt")
	@ResponseBody
	@Override
	public ActionResult delete(long soid) {
		// TODO Auto-generated method stub
		return null;
	}

	@ApiOperation(value = "获取实例slot", notes = "获取实例slot")
	@ApiImplicitParam(name = "soid", value = "实例slotsoid", required = false)
	@GetMapping(value = "/getKnwIndividualSolt")
	@ResponseBody
	@Override
	public ListResult<KnwIndividualSolt> get(long soid) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 *分页查询引用体系
	 */
	@ApiOperation(value = "分页查询实例slot", notes = "分页查询实例slot")
	@PostMapping(value = "/findPage",produces = { "application/json;charset=UTF-8" })
	@ResponseBody
	@Override
	public ListResult<?> findPage(PageSearchVo vo) {
		// TODO Auto-generated method stub
		return null;
	}
}
